<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::MklKernel&lt; InputType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_mkl_kernel.html">MklKernel</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_mkl_kernel-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::MklKernel&lt; InputType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__models.html">Models</a> &raquo; <a class="el" href="group__kernels.html">Kernels</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Weighted sum of kernel functions.  
 <a href="classshark_1_1_mkl_kernel.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_mkl_kernel_8h_source.html">shark/Models/Kernels/MklKernel.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::MklKernel&lt; InputType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_mkl_kernel__inherit__graph.png" border="0" usemap="#ashark_1_1_mkl_kernel_3_01_input_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_mkl_kernel_3_01_input_type_01_4_inherit__map" id="ashark_1_1_mkl_kernel_3_01_input_type_01_4_inherit__map">
<area shape="rect" title="Weighted sum of kernel functions." alt="" coords="73,94,273,120"/>
<area shape="rect" title=" " alt="" coords="5,5,154,46"/>
<area shape="poly" title=" " alt="" coords="116,54,160,91,157,95,113,58"/>
<area shape="rect" href="classshark_1_1_weighted_sum_kernel.html" title=" " alt="" coords="178,5,357,46"/>
<area shape="poly" title=" " alt="" coords="234,58,189,95,186,91,231,54"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a00976371c0ee1b13a7798689b459961b" id="r_a00976371c0ee1b13a7798689b459961b"><td class="memTemplParams" colspan="2">template&lt;class KernelTuple &gt; </td></tr>
<tr class="memitem:a00976371c0ee1b13a7798689b459961b"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classshark_1_1_mkl_kernel.html#a00976371c0ee1b13a7798689b459961b">MklKernel</a> (KernelTuple const &amp;kernels)</td></tr>
<tr class="separator:a00976371c0ee1b13a7798689b459961b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa510142cfcee8d80da5dd077c521e03b" id="r_aa510142cfcee8d80da5dd077c521e03b"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_mkl_kernel.html#aa510142cfcee8d80da5dd077c521e03b">name</a> () const</td></tr>
<tr class="memdesc:aa510142cfcee8d80da5dd077c521e03b"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:aa510142cfcee8d80da5dd077c521e03b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_weighted_sum_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_weighted_sum_kernel')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_weighted_sum_kernel.html">shark::WeightedSumKernel&lt; InputType &gt;</a></td></tr>
<tr class="memitem:aee096c1b04abdeb6cc2bdd5a5b01ea17 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_aee096c1b04abdeb6cc2bdd5a5b01ea17"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#aee096c1b04abdeb6cc2bdd5a5b01ea17">WeightedSumKernel</a> (std::vector&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a> &gt; * &gt; const &amp;base)</td></tr>
<tr class="separator:aee096c1b04abdeb6cc2bdd5a5b01ea17 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe44dc95e08b7024712f4980e6dbd310 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_abe44dc95e08b7024712f4980e6dbd310"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#abe44dc95e08b7024712f4980e6dbd310">name</a> () const</td></tr>
<tr class="memdesc:abe44dc95e08b7024712f4980e6dbd310 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:abe44dc95e08b7024712f4980e6dbd310 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86efd4f545c8abf4caea4d9c38589e80 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a86efd4f545c8abf4caea4d9c38589e80"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a86efd4f545c8abf4caea4d9c38589e80">isAdaptive</a> (std::size_t index) const</td></tr>
<tr class="memdesc:a86efd4f545c8abf4caea4d9c38589e80 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check whether m_base kernel index is adaptive.  <br /></td></tr>
<tr class="separator:a86efd4f545c8abf4caea4d9c38589e80 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa433177f587bf2a79c7ec36977f15f00 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_aa433177f587bf2a79c7ec36977f15f00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#aa433177f587bf2a79c7ec36977f15f00">setAdaptive</a> (std::size_t index, bool b=true)</td></tr>
<tr class="memdesc:aa433177f587bf2a79c7ec36977f15f00 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set adaptivity of m_base kernel index.  <br /></td></tr>
<tr class="separator:aa433177f587bf2a79c7ec36977f15f00 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a227f996baf7f509c9cfe2e95f0ba1135 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a227f996baf7f509c9cfe2e95f0ba1135"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a227f996baf7f509c9cfe2e95f0ba1135">setAdaptiveAll</a> (bool b=true)</td></tr>
<tr class="memdesc:a227f996baf7f509c9cfe2e95f0ba1135 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set adaptivity of all m_base kernels.  <br /></td></tr>
<tr class="separator:a227f996baf7f509c9cfe2e95f0ba1135 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b684ed2ebcb1c8502e8116ee1ba8153 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a3b684ed2ebcb1c8502e8116ee1ba8153"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a3b684ed2ebcb1c8502e8116ee1ba8153">weight</a> (std::size_t index)</td></tr>
<tr class="memdesc:a3b684ed2ebcb1c8502e8116ee1ba8153 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the weight of a kernel.  <br /></td></tr>
<tr class="separator:a3b684ed2ebcb1c8502e8116ee1ba8153 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74cdcb5818e16690ee1088f6d5c2e77e inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a74cdcb5818e16690ee1088f6d5c2e77e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a74cdcb5818e16690ee1088f6d5c2e77e">setAdaptiveWeights</a> (bool b)</td></tr>
<tr class="separator:a74cdcb5818e16690ee1088f6d5c2e77e inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7947a32a41b0bff7ac5e1f5532cccf51 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a7947a32a41b0bff7ac5e1f5532cccf51"><td class="memItemLeft" align="right" valign="top">RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a7947a32a41b0bff7ac5e1f5532cccf51">parameterVector</a> () const</td></tr>
<tr class="separator:a7947a32a41b0bff7ac5e1f5532cccf51 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f5c7a811096153b2cc2add881ea3b41 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a8f5c7a811096153b2cc2add881ea3b41"><td class="memItemLeft" align="right" valign="top">boost::shared_ptr&lt; <a class="el" href="structshark_1_1_state.html">State</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a8f5c7a811096153b2cc2add881ea3b41">createState</a> () const</td></tr>
<tr class="memdesc:a8f5c7a811096153b2cc2add881ea3b41 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">creates the internal state of the kernel  <br /></td></tr>
<tr class="separator:a8f5c7a811096153b2cc2add881ea3b41 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3682a26ae5a4261c1be65d8d672d9252 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a3682a26ae5a4261c1be65d8d672d9252"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a3682a26ae5a4261c1be65d8d672d9252">setParameterVector</a> (RealVector const &amp;newParameters)</td></tr>
<tr class="separator:a3682a26ae5a4261c1be65d8d672d9252 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d8ada3a0f91d423094039784f700461 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a0d8ada3a0f91d423094039784f700461"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a0d8ada3a0f91d423094039784f700461">numberOfParameters</a> () const</td></tr>
<tr class="memdesc:a0d8ada3a0f91d423094039784f700461 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of parameters.  <br /></td></tr>
<tr class="separator:a0d8ada3a0f91d423094039784f700461 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41a6851266bc6808f2e271e764989349 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a41a6851266bc6808f2e271e764989349"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a41a6851266bc6808f2e271e764989349">eval</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6caa8268bc333f331d50366fc679419d">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6caa8268bc333f331d50366fc679419d">ConstInputReference</a> x2) const</td></tr>
<tr class="separator:a41a6851266bc6808f2e271e764989349 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b481f814c6863916b53c9c8918e8bec inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a2b481f814c6863916b53c9c8918e8bec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a2b481f814c6863916b53c9c8918e8bec">eval</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX2, RealMatrix &amp;result) const</td></tr>
<tr class="separator:a2b481f814c6863916b53c9c8918e8bec inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad58a7538e994a5d0a0b5d49e7d582f87 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_ad58a7538e994a5d0a0b5d49e7d582f87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#ad58a7538e994a5d0a0b5d49e7d582f87">eval</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX2, RealMatrix &amp;result, <a class="el" href="structshark_1_1_state.html">State</a> &amp;state) const</td></tr>
<tr class="separator:ad58a7538e994a5d0a0b5d49e7d582f87 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32e469b9516edfadd503609e68c2ab4a inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a32e469b9516edfadd503609e68c2ab4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a32e469b9516edfadd503609e68c2ab4a">weightedParameterDerivative</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX2, RealMatrix const &amp;coefficients, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, RealVector &amp;gradient) const</td></tr>
<tr class="separator:a32e469b9516edfadd503609e68c2ab4a inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac85e0509d78aeb0909c9a4b3876eb94f inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_ac85e0509d78aeb0909c9a4b3876eb94f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#ac85e0509d78aeb0909c9a4b3876eb94f">weightedInputDerivative</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX2, RealMatrix const &amp;coefficientsX2, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#afe31030a33669b789e1d92d56da07882">BatchInputType</a> &amp;gradient) const</td></tr>
<tr class="separator:ac85e0509d78aeb0909c9a4b3876eb94f inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03eb586f4658acdf41643b761f932b3d inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a03eb586f4658acdf41643b761f932b3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a03eb586f4658acdf41643b761f932b3d">read</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;ar)</td></tr>
<tr class="memdesc:a03eb586f4658acdf41643b761f932b3d inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, reads a metric from an archive.  <br /></td></tr>
<tr class="separator:a03eb586f4658acdf41643b761f932b3d inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e7dc5ce57c2378159ff080e49a18382 inherit pub_methods_classshark_1_1_weighted_sum_kernel" id="r_a8e7dc5ce57c2378159ff080e49a18382"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a8e7dc5ce57c2378159ff080e49a18382">write</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;ar) const</td></tr>
<tr class="memdesc:a8e7dc5ce57c2378159ff080e49a18382 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_serializable.html" title="Abstracts serializing functionality.">ISerializable</a>, writes a metric to an archive.  <br /></td></tr>
<tr class="separator:a8e7dc5ce57c2378159ff080e49a18382 inherit pub_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_kernel_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_kernel_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_kernel_function.html">shark::AbstractKernelFunction&lt; InputType &gt;</a></td></tr>
<tr class="memitem:a81ed7e2e580d7967ba21d82cf8105c4c inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a81ed7e2e580d7967ba21d82cf8105c4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a81ed7e2e580d7967ba21d82cf8105c4c">AbstractKernelFunction</a> ()</td></tr>
<tr class="separator:a81ed7e2e580d7967ba21d82cf8105c4c inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad813e7a91adf505e31224fba2e0ee8d1 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_ad813e7a91adf505e31224fba2e0ee8d1"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_kernel_function.html#a63fdfe8b374750b9fa8288e06a666919">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#ad813e7a91adf505e31224fba2e0ee8d1">features</a> () const</td></tr>
<tr class="separator:ad813e7a91adf505e31224fba2e0ee8d1 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e65f245e63e075562917986673b99af inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a6e65f245e63e075562917986673b99af"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a6e65f245e63e075562917986673b99af">updateFeatures</a> ()</td></tr>
<tr class="separator:a6e65f245e63e075562917986673b99af inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c799ac75db64200256ed50d34d2411 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_ac0c799ac75db64200256ed50d34d2411"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#ac0c799ac75db64200256ed50d34d2411">hasFirstParameterDerivative</a> () const</td></tr>
<tr class="separator:ac0c799ac75db64200256ed50d34d2411 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a505ca00275044073f08aae949127a76f inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a505ca00275044073f08aae949127a76f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a505ca00275044073f08aae949127a76f">hasFirstInputDerivative</a> () const</td></tr>
<tr class="separator:a505ca00275044073f08aae949127a76f inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b60def6354aac30a9c2ce5bffa6f9ae inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a3b60def6354aac30a9c2ce5bffa6f9ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a3b60def6354aac30a9c2ce5bffa6f9ae">isNormalized</a> () const</td></tr>
<tr class="separator:a3b60def6354aac30a9c2ce5bffa6f9ae inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a225fbad3a0efdac21e4422576de2ce4e inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a225fbad3a0efdac21e4422576de2ce4e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a225fbad3a0efdac21e4422576de2ce4e">supportsVariableInputSize</a> () const</td></tr>
<tr class="separator:a225fbad3a0efdac21e4422576de2ce4e inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a187783089e5ee24875e43b8865b1a46e inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a187783089e5ee24875e43b8865b1a46e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a187783089e5ee24875e43b8865b1a46e">operator()</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a187783089e5ee24875e43b8865b1a46e inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience operator which evaluates the kernel function.  <br /></td></tr>
<tr class="separator:a187783089e5ee24875e43b8865b1a46e inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d5586ade0c39f0513c8e53ec5f99ed6 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a2d5586ade0c39f0513c8e53ec5f99ed6"><td class="memItemLeft" align="right" valign="top">RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a2d5586ade0c39f0513c8e53ec5f99ed6">operator()</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2) const</td></tr>
<tr class="memdesc:a2d5586ade0c39f0513c8e53ec5f99ed6 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the subset of the KernelGram matrix which is defined by X1(rows) and X2 (columns).  <br /></td></tr>
<tr class="separator:a2d5586ade0c39f0513c8e53ec5f99ed6 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4526b02196952d7af3bc76633c8bd6b7 inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a4526b02196952d7af3bc76633c8bd6b7"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a4526b02196952d7af3bc76633c8bd6b7">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a4526b02196952d7af3bc76633c8bd6b7 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a4526b02196952d7af3bc76633c8bd6b7 inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5abde1fffe84a51cb07c2242eef632ef inherit pub_methods_classshark_1_1_abstract_kernel_function" id="r_a5abde1fffe84a51cb07c2242eef632ef"><td class="memItemLeft" align="right" valign="top">virtual RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a5abde1fffe84a51cb07c2242eef632ef">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a> batchX2) const</td></tr>
<tr class="memdesc:a5abde1fffe84a51cb07c2242eef632ef inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a5abde1fffe84a51cb07c2242eef632ef inherit pub_methods_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_metric"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_metric')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_metric.html">shark::AbstractMetric&lt; InputTypeT &gt;</a></td></tr>
<tr class="memitem:aeb00f4cd45e33127a8e0580aa8f1e6f0 inherit pub_methods_classshark_1_1_abstract_metric" id="r_aeb00f4cd45e33127a8e0580aa8f1e6f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#aeb00f4cd45e33127a8e0580aa8f1e6f0">AbstractMetric</a> ()</td></tr>
<tr class="separator:aeb00f4cd45e33127a8e0580aa8f1e6f0 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a137acb940aeb83bc435414651b347db9 inherit pub_methods_classshark_1_1_abstract_metric" id="r_a137acb940aeb83bc435414651b347db9"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a137acb940aeb83bc435414651b347db9">~AbstractMetric</a> ()</td></tr>
<tr class="separator:a137acb940aeb83bc435414651b347db9 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a249ddd25ea56bc592ea2f8386070714d inherit pub_methods_classshark_1_1_abstract_metric" id="r_a249ddd25ea56bc592ea2f8386070714d"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a249ddd25ea56bc592ea2f8386070714d">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x2) const =0</td></tr>
<tr class="memdesc:a249ddd25ea56bc592ea2f8386070714d inherit pub_methods_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the squared distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a249ddd25ea56bc592ea2f8386070714d inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97235679a7840667faffe78b2ca75692 inherit pub_methods_classshark_1_1_abstract_metric" id="r_a97235679a7840667faffe78b2ca75692"><td class="memItemLeft" align="right" valign="top">virtual RealMatrix&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a97235679a7840667faffe78b2ca75692">featureDistanceSqr</a> (<a class="el" href="classshark_1_1_abstract_metric.html#aded3435936965bcee46366318e37cbc9">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_abstract_metric.html#aded3435936965bcee46366318e37cbc9">ConstBatchInputReference</a> batchX2) const =0</td></tr>
<tr class="separator:a97235679a7840667faffe78b2ca75692 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7daef46282ceda23dd469bc51afacf14 inherit pub_methods_classshark_1_1_abstract_metric" id="r_a7daef46282ceda23dd469bc51afacf14"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a7daef46282ceda23dd469bc51afacf14">featureDistance</a> (<a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x1, <a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a> x2) const</td></tr>
<tr class="memdesc:a7daef46282ceda23dd469bc51afacf14 inherit pub_methods_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the distance in the kernel induced feature space.  <br /></td></tr>
<tr class="separator:a7daef46282ceda23dd469bc51afacf14 inherit pub_methods_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable" id="r_a9e3a11172e74d1aa7292f3de4e2b6ebc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a9e3a11172e74d1aa7292f3de4e2b6ebc">~IParameterizable</a> ()</td></tr>
<tr class="separator:a9e3a11172e74d1aa7292f3de4e2b6ebc inherit pub_methods_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_serializable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_serializable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_serializable.html">shark::ISerializable</a></td></tr>
<tr class="memitem:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable" id="r_a7baa9ce108d7278822297ce15882782a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a7baa9ce108d7278822297ce15882782a">~ISerializable</a> ()</td></tr>
<tr class="memdesc:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual d'tor.  <br /></td></tr>
<tr class="separator:a7baa9ce108d7278822297ce15882782a inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable" id="r_abdda0c5b8e065b8afbac2cba8f58e841"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#abdda0c5b8e065b8afbac2cba8f58e841">load</a> (<a class="el" href="namespaceshark.html#ada68729491840669e47c8ad42282424f">InArchive</a> &amp;archive, unsigned int version)</td></tr>
<tr class="memdesc:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned loading of components, calls read(...).  <br /></td></tr>
<tr class="separator:abdda0c5b8e065b8afbac2cba8f58e841 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable" id="r_a5bf66fa8db15cc529bec98976a2f5255"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a5bf66fa8db15cc529bec98976a2f5255">save</a> (<a class="el" href="namespaceshark.html#af4f8eb8e9618f5236b71bbcb12b8a524">OutArchive</a> &amp;archive, unsigned int version) const</td></tr>
<tr class="memdesc:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="mdescLeft">&#160;</td><td class="mdescRight">Versioned storing of components, calls write(...).  <br /></td></tr>
<tr class="separator:a5bf66fa8db15cc529bec98976a2f5255 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable" id="r_a4560a94e8f4908fe8627e41e7d965735"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_serializable.html#a4560a94e8f4908fe8627e41e7d965735">BOOST_SERIALIZATION_SPLIT_MEMBER</a> ()</td></tr>
<tr class="separator:a4560a94e8f4908fe8627e41e7d965735 inherit pub_methods_classshark_1_1_i_serializable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classshark_1_1_weighted_sum_kernel"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_weighted_sum_kernel')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_weighted_sum_kernel.html">shark::WeightedSumKernel&lt; InputType &gt;</a></td></tr>
<tr class="memitem:afe31030a33669b789e1d92d56da07882 inherit pub_types_classshark_1_1_weighted_sum_kernel" id="r_afe31030a33669b789e1d92d56da07882"><td class="memItemLeft" align="right" valign="top">typedef base_type::BatchInputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#afe31030a33669b789e1d92d56da07882">BatchInputType</a></td></tr>
<tr class="separator:afe31030a33669b789e1d92d56da07882 inherit pub_types_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6caa8268bc333f331d50366fc679419d inherit pub_types_classshark_1_1_weighted_sum_kernel" id="r_a6caa8268bc333f331d50366fc679419d"><td class="memItemLeft" align="right" valign="top">typedef base_type::ConstInputReference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6caa8268bc333f331d50366fc679419d">ConstInputReference</a></td></tr>
<tr class="separator:a6caa8268bc333f331d50366fc679419d inherit pub_types_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c0691276ad97eaf6030cb2e5ab24679 inherit pub_types_classshark_1_1_weighted_sum_kernel" id="r_a6c0691276ad97eaf6030cb2e5ab24679"><td class="memItemLeft" align="right" valign="top">typedef base_type::ConstBatchInputReference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a></td></tr>
<tr class="separator:a6c0691276ad97eaf6030cb2e5ab24679 inherit pub_types_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_kernel_function"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_kernel_function')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_kernel_function.html">shark::AbstractKernelFunction&lt; InputType &gt;</a></td></tr>
<tr class="memitem:af54c80ca837961761506e6c2eec15bde inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_af54c80ca837961761506e6c2eec15bde"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">Feature</a> </td></tr>
<tr class="memdesc:af54c80ca837961761506e6c2eec15bde"><td class="mdescLeft">&#160;</td><td class="mdescRight">enumerations of kerneland metric features (flags)  <a href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">More...</a><br /></td></tr>
<tr class="separator:af54c80ca837961761506e6c2eec15bde inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a808acb34b9c95c6af0f48177d554bd59 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a808acb34b9c95c6af0f48177d554bd59"><td class="memItemLeft" align="right" valign="top">typedef base_type::InputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a></td></tr>
<tr class="memdesc:a808acb34b9c95c6af0f48177d554bd59 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input type of the Kernel.  <br /></td></tr>
<tr class="separator:a808acb34b9c95c6af0f48177d554bd59 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf700c2ece7236c70cef4b88777a733 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_adbf700c2ece7236c70cef4b88777a733"><td class="memItemLeft" align="right" valign="top">typedef base_type::BatchInputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#adbf700c2ece7236c70cef4b88777a733">BatchInputType</a></td></tr>
<tr class="memdesc:adbf700c2ece7236c70cef4b88777a733 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">batch input type of the kernel  <br /></td></tr>
<tr class="separator:adbf700c2ece7236c70cef4b88777a733 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40e365cb5ec7d2776105a4aef4e78df3 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a40e365cb5ec7d2776105a4aef4e78df3"><td class="memItemLeft" align="right" valign="top">typedef base_type::ConstInputReference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a40e365cb5ec7d2776105a4aef4e78df3">ConstInputReference</a></td></tr>
<tr class="memdesc:a40e365cb5ec7d2776105a4aef4e78df3 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to InputType.  <br /></td></tr>
<tr class="separator:a40e365cb5ec7d2776105a4aef4e78df3 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af923f26f3d015156bb5ac159b302311b inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_af923f26f3d015156bb5ac159b302311b"><td class="memItemLeft" align="right" valign="top">typedef base_type::ConstBatchInputReference&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#af923f26f3d015156bb5ac159b302311b">ConstBatchInputReference</a></td></tr>
<tr class="memdesc:af923f26f3d015156bb5ac159b302311b inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to BatchInputType.  <br /></td></tr>
<tr class="separator:af923f26f3d015156bb5ac159b302311b inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63fdfe8b374750b9fa8288e06a666919 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a63fdfe8b374750b9fa8288e06a666919"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a63fdfe8b374750b9fa8288e06a666919">Features</a></td></tr>
<tr class="memdesc:a63fdfe8b374750b9fa8288e06a666919 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">This statement declares the member m_features. See <a class="el" href="_flags_8h.html">Core/Flags.h</a> for details.  <br /></td></tr>
<tr class="separator:a63fdfe8b374750b9fa8288e06a666919 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a619eef1551440a251e305cc6cd88d2f8 inherit pub_types_classshark_1_1_abstract_kernel_function" id="r_a619eef1551440a251e305cc6cd88d2f8"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#af54c80ca837961761506e6c2eec15bde">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a619eef1551440a251e305cc6cd88d2f8">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a619eef1551440a251e305cc6cd88d2f8 inherit pub_types_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_metric"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_metric')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_metric.html">shark::AbstractMetric&lt; InputTypeT &gt;</a></td></tr>
<tr class="memitem:a8ef376e183e0fac88fc9234204c75569 inherit pub_types_classshark_1_1_abstract_metric" id="r_a8ef376e183e0fac88fc9234204c75569"><td class="memItemLeft" align="right" valign="top">typedef InputTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a8ef376e183e0fac88fc9234204c75569">InputType</a></td></tr>
<tr class="memdesc:a8ef376e183e0fac88fc9234204c75569 inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Input type of the Kernel.  <br /></td></tr>
<tr class="separator:a8ef376e183e0fac88fc9234204c75569 inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed2427fcee73de8368e0e24ce61cada inherit pub_types_classshark_1_1_abstract_metric" id="r_a3ed2427fcee73de8368e0e24ce61cada"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; InputTypeT &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#a3ed2427fcee73de8368e0e24ce61cada">BatchInputType</a></td></tr>
<tr class="memdesc:a3ed2427fcee73de8368e0e24ce61cada inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">batch input type of the kernel  <br /></td></tr>
<tr class="separator:a3ed2427fcee73de8368e0e24ce61cada inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad56b88ee5dab414cc3fe71ef6a36aa19 inherit pub_types_classshark_1_1_abstract_metric" id="r_ad56b88ee5dab414cc3fe71ef6a36aa19"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_const_proxy_reference.html">ConstProxyReference</a>&lt; InputTypeconst &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#ad56b88ee5dab414cc3fe71ef6a36aa19">ConstInputReference</a></td></tr>
<tr class="memdesc:ad56b88ee5dab414cc3fe71ef6a36aa19 inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to InputType.  <br /></td></tr>
<tr class="separator:ad56b88ee5dab414cc3fe71ef6a36aa19 inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aded3435936965bcee46366318e37cbc9 inherit pub_types_classshark_1_1_abstract_metric" id="r_aded3435936965bcee46366318e37cbc9"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_const_proxy_reference.html">ConstProxyReference</a>&lt; BatchInputTypeconst &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_metric.html#aded3435936965bcee46366318e37cbc9">ConstBatchInputReference</a></td></tr>
<tr class="memdesc:aded3435936965bcee46366318e37cbc9 inherit pub_types_classshark_1_1_abstract_metric"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const references to BatchInputType.  <br /></td></tr>
<tr class="separator:aded3435936965bcee46366318e37cbc9 inherit pub_types_classshark_1_1_abstract_metric"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_i_parameterizable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_i_parameterizable')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_i_parameterizable.html">shark::IParameterizable&lt; VectorType &gt;</a></td></tr>
<tr class="memitem:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable" id="r_a2ad5e2e60b2b352988b41f46024d790b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="_c_svm_linear_8cpp.html#ab106d665148183a2dc94dcf8716c9203">VectorType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_parameterizable.html#a2ad5e2e60b2b352988b41f46024d790b">ParameterVectorType</a></td></tr>
<tr class="separator:a2ad5e2e60b2b352988b41f46024d790b inherit pub_types_classshark_1_1_i_parameterizable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classshark_1_1_weighted_sum_kernel"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshark_1_1_weighted_sum_kernel')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classshark_1_1_weighted_sum_kernel.html">shark::WeightedSumKernel&lt; InputType &gt;</a></td></tr>
<tr class="memitem:a3ea97fa30195ad2fda455a58fa2e2839 inherit pro_methods_classshark_1_1_weighted_sum_kernel" id="r_a3ea97fa30195ad2fda455a58fa2e2839"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a3ea97fa30195ad2fda455a58fa2e2839">updateNumberOfParameters</a> ()</td></tr>
<tr class="separator:a3ea97fa30195ad2fda455a58fa2e2839 inherit pro_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b3fc6653bb38681f0292d81251103a4 inherit pro_methods_classshark_1_1_weighted_sum_kernel" id="r_a8b3fc6653bb38681f0292d81251103a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a8b3fc6653bb38681f0292d81251103a4">weightedInputDerivativeImpl</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX2, RealMatrix const &amp;coefficientsX2, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#afe31030a33669b789e1d92d56da07882">BatchInputType</a> &amp;gradient, typename boost::enable_if&lt; boost::is_same&lt; T, RealMatrix &gt; &gt;::type *dummy=0) const</td></tr>
<tr class="separator:a8b3fc6653bb38681f0292d81251103a4 inherit pro_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c33d52aa95a25710f74bfbcd32c1e8b inherit pro_methods_classshark_1_1_weighted_sum_kernel" id="r_a9c33d52aa95a25710f74bfbcd32c1e8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a9c33d52aa95a25710f74bfbcd32c1e8b">weightedInputDerivativeImpl</a> (<a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX1, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#a6c0691276ad97eaf6030cb2e5ab24679">ConstBatchInputReference</a> batchX2, RealMatrix const &amp;coefficientsX2, <a class="el" href="structshark_1_1_state.html">State</a> const &amp;state, <a class="el" href="classshark_1_1_weighted_sum_kernel.html#afe31030a33669b789e1d92d56da07882">BatchInputType</a> &amp;gradient, typename boost::disable_if&lt; boost::is_same&lt; T, RealMatrix &gt; &gt;::type *dummy=0) const</td></tr>
<tr class="separator:a9c33d52aa95a25710f74bfbcd32c1e8b inherit pro_methods_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_weighted_sum_kernel"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_weighted_sum_kernel')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_weighted_sum_kernel.html">shark::WeightedSumKernel&lt; InputType &gt;</a></td></tr>
<tr class="memitem:a4028738f9aa22e1edab8867bb2aff529 inherit pro_attribs_classshark_1_1_weighted_sum_kernel" id="r_a4028738f9aa22e1edab8867bb2aff529"><td class="memItemLeft" align="right" valign="top">std::vector&lt; tBase &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a4028738f9aa22e1edab8867bb2aff529">m_base</a></td></tr>
<tr class="memdesc:a4028738f9aa22e1edab8867bb2aff529 inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">collection of m_base kernels  <br /></td></tr>
<tr class="separator:a4028738f9aa22e1edab8867bb2aff529 inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff1ee3807f90b696b4e5e367d0091e1b inherit pro_attribs_classshark_1_1_weighted_sum_kernel" id="r_aff1ee3807f90b696b4e5e367d0091e1b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#aff1ee3807f90b696b4e5e367d0091e1b">m_weightsum</a></td></tr>
<tr class="memdesc:aff1ee3807f90b696b4e5e367d0091e1b inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">sum of all weights  <br /></td></tr>
<tr class="separator:aff1ee3807f90b696b4e5e367d0091e1b inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca8bc10711b10be934175ca051a9b64b inherit pro_attribs_classshark_1_1_weighted_sum_kernel" id="r_aca8bc10711b10be934175ca051a9b64b"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#aca8bc10711b10be934175ca051a9b64b">m_numParameters</a></td></tr>
<tr class="memdesc:aca8bc10711b10be934175ca051a9b64b inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">total number of parameters  <br /></td></tr>
<tr class="separator:aca8bc10711b10be934175ca051a9b64b inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a763f50399f37666fc1f81a6fed05e062 inherit pro_attribs_classshark_1_1_weighted_sum_kernel" id="r_a763f50399f37666fc1f81a6fed05e062"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_weighted_sum_kernel.html#a763f50399f37666fc1f81a6fed05e062">m_adaptWeights</a></td></tr>
<tr class="memdesc:a763f50399f37666fc1f81a6fed05e062 inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="mdescLeft">&#160;</td><td class="mdescRight">whether the weights should be adapted  <br /></td></tr>
<tr class="separator:a763f50399f37666fc1f81a6fed05e062 inherit pro_attribs_classshark_1_1_weighted_sum_kernel"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_kernel_function"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_kernel_function')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_kernel_function.html">shark::AbstractKernelFunction&lt; InputType &gt;</a></td></tr>
<tr class="memitem:aa13e9ab3b8bbad9e1d773468671703e6 inherit pro_attribs_classshark_1_1_abstract_kernel_function" id="r_aa13e9ab3b8bbad9e1d773468671703e6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_kernel_function.html#a63fdfe8b374750b9fa8288e06a666919">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_kernel_function.html#aa13e9ab3b8bbad9e1d773468671703e6">m_features</a></td></tr>
<tr class="separator:aa13e9ab3b8bbad9e1d773468671703e6 inherit pro_attribs_classshark_1_1_abstract_kernel_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a>&gt;<br />
class shark::MklKernel&lt; InputType &gt;</div><p>Weighted sum of kernel functions. </p>
<p>For a set of positive definite kernels \( k_1, \dots, k_n \) with positive coeffitients \( w_1, \dots, w_n \) the sum </p><p class="formulaDsp">
\[ \tilde k(x_1, x_2) := \sum_{i=1}^{n} w_i \cdot k_i(x_1, x_2) \]
</p>
<p> is again a positive definite kernel function. This still holds when the sub-kernels only operate of a subset of features, that is, when we have a direct sum kernel ( see e.g. the UCSC Technical Report UCSC-CRL-99-10: Convolution Kernels on Discrete Structures by David Haussler ).</p>
<p>This class is very similar to the <a class="el" href="classshark_1_1_weighted_sum_kernel.html#aee096c1b04abdeb6cc2bdd5a5b01ea17">WeightedSumKernel</a> , except that it assumes its inputs to be tuples of values \( x=(x_1,\dots, x_n) \). It calculates the direct sum of kernels </p><p class="formulaDsp">
\[ \tilde k(x, y) := \sum_{i=1}^{n} w_i \cdot k_i(x_i, y_i) \]
</p>
<p>Internally, the weights are represented as \( w_i = \exp(\xi_i) \) to allow for unconstrained optimization.</p>
<p>The result of the kernel evaluation is devided by the sum of the kernel weights, so that in total, this amounts to fixing the sum of the of the weights to one.</p>
<p>In the current implementation, we expect the InputType to be a boost::fusion::vector. For example, boost::fusion::vector&lt;RealVector,RealVector&gt; represents a tuple of two vectors. </p>

<p class="definition">Definition at line <a class="el" href="_mkl_kernel_8h_source.html#l00070">70</a> of file <a class="el" href="_mkl_kernel_8h_source.html">MklKernel.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a00976371c0ee1b13a7798689b459961b" name="a00976371c0ee1b13a7798689b459961b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00976371c0ee1b13a7798689b459961b">&#9670;&#160;</a></span>MklKernel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a> &gt; </div>
<div class="memtemplate">
template&lt;class KernelTuple &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_mkl_kernel.html">shark::MklKernel</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a> &gt;::MklKernel </td>
          <td>(</td>
          <td class="paramtype">KernelTuple const &amp;&#160;</td>
          <td class="paramname"><em>kernels</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_mkl_kernel_8h_source.html#l00080">80</a> of file <a class="el" href="_mkl_kernel_8h_source.html">MklKernel.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aa510142cfcee8d80da5dd077c521e03b" name="aa510142cfcee8d80da5dd077c521e03b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa510142cfcee8d80da5dd077c521e03b">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_mkl_kernel.html">shark::MklKernel</a>&lt; <a class="el" href="classshark_1_1_abstract_kernel_function.html#a808acb34b9c95c6af0f48177d554bd59">InputType</a> &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_mkl_kernel_8h_source.html#l00083">83</a> of file <a class="el" href="_mkl_kernel_8h_source.html">MklKernel.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Models/Kernels/<a class="el" href="_mkl_kernel_8h_source.html">MklKernel.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
